#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>
#include<conio.h>
#include<graphics.h>

int main()
{
	float width, height, gravity;
	width = 600.0f;
	height = 400.0f;
	gravity = 0.6f;
	initgraph((int)width, (int)height);

	float rect_left_x, rect_top_y, rect_width, rect_height;
	rect_height = 100.0f;
	rect_width = 20.0f;
	rect_left_x = width * 3 / 4;
	rect_top_y = height - rect_height;

	fillrectangle((int)rect_left_x, (int)height - (int)rect_height, (int)rect_left_x + (int)rect_width, (int)height);
	_getch();
	closegraph();
	return 0;
}